package com.dao;

import com.entity.CstCustomer;
import com.entity.CstCustomerExample;
import com.entity.SalChance;

import java.util.List;

public interface CstCustomerMapper {
	
    int deleteByPrimaryKey(Long custManagerId);

    int insert(CstCustomer record);

    int insertSelective(CstCustomer record);

    List<CstCustomer> selectByExample(CstCustomerExample example);

    CstCustomer selectByPrimaryKey(Long custManagerId);
    
    List<CstCustomer> selectAllCst();
    
    int updateByPrimaryKeySelective(CstCustomer record);

    int updateByPrimaryKey(CstCustomer record);
    /**
     * 查询所有，按等级查询
     * @return
     */
    public List<CstCustomer> getAllwxx();
    /**
     * 查询所有，按信用度查询
     * @return
     */
    public List<CstCustomer> getAllwxxa();
    /**
     * 查询所有，按满意度查询
     * @return
     */
    public List<CstCustomer> getAllwxxb();
}